<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>tpl10</title>
<script src="js/vue.min.js"></script>
</head>
<body>
<div id="app">
    <h2><a v-bind:href="url" v-bind:target="target">lz</a></h2>
</div>
  
<script>
new Vue({
  el: '#app',
  data: {
    url: 'http://www.baidu.com',
    target:'_blank'
  }
})
</script>
</body>
</html>